Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MTA-1305: Add source and target labels to selector #79

Closed
wants to merge 2 commits into from

Conversation

eemcmullan
Copy link
Collaborator

@eemcmullan eemcmullan commented Sep 27, 2023

#76

}
}
if sourceExpr != "" {
// when only source is specified, OR them all
return fmt.Sprintf("%s || (%s)",
sourceExpr, strings.Join(defaultLabels, " || "))
return fmt.Sprintf("%s || %s || (%s)",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think we should be passing catch-all selector, this will match a lot many builtin rules.

@eemcmullan eemcmullan closed this Sep 28, 2023
@eemcmullan eemcmullan deleted the 1305 branch January 23, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants